<template>
  <n-popover
    style="
      --n-border-radius: 4px;
      --n-box-shadow: 0 28px 50px rgba(25, 24, 40, 0.35);
      --n-padding: 0;
    "
    class="norem-history-pop"
    content-class="user-popover"
    placement="bottom"
    trigger="hover"
  >
    <template #trigger>
      <div class="norem-down-name">追漫</div>
    </template>
    <div class="norem-pop-dia">
      <div class="list">
        <div class="card" v-for="item in 1" :key="item">卡片</div>
      </div>
      <div class="norem-more">
        <span>查看全部</span>
        <i class="norem-icon esayIcon esayIcon-gengduo"></i>
      </div>
    </div>
  </n-popover>
</template>
<script setup lang="ts"></script>
<style scoped lang="scss">
.norem-down-name {
  color: #333;
  cursor: pointer;
  font-size: 14px;
  padding: 0 15px 0 15px;
  &:hover {
    color: var(--n-color);
  }
}
.norem-pop-dia {
  width: 200px;
  overflow: hidden;
}
</style>
<style lang="scss">
.norem-history-pop {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  .list {
    padding: 10px;
  }
  .norem-more {
    background-color: #f4f4f4;
    color: rgba(0, 0, 0, 0.56);
    padding: 6px 0;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    border-radius: 0 0 4px 4px;
    .norem-icon {
      font-size: 13px;
      margin-left: 2px;
    }
  }
}
</style>
